﻿<%@ Page Language="C#" MasterPageFile="~/MasterClient.Master" AutoEventWireup="true"
    CodeFile="frm_TraineeBasicInfo.aspx.cs" Inherits="frm_TraineeBasicInfo" Title="Untitled Page" %>

<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    基本情報入力</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script src="js/jquery.min.js" type="text/javascript"></script>

    <script type="text/javascript" src="Js/jquery.alphanumeric.pack.js"></script>

    <script type="text/javascript" src="Js/hlibrary.js"></script>

    <script language="javascript" type="text/javascript" src="js/jquery.maxlength.js"></script>

    <script src="js/Validation.js" type="text/javascript"></script>

    <script type="text/javascript">
        //show or hide experience works
        function ShowDiv(dv) {
            var cur = document.getElementById(dv).value;
            var v32 = document.getElementById('ctl00_ContentPlaceHolder1_ValidatorCalloutExtender32_popupTable');
            var v35 = document.getElementById('ctl00_ContentPlaceHolder1_ValidatorCalloutExtender35_popupTable');
            var v22 = document.getElementById('ctl00_ContentPlaceHolder1_ValidatorCalloutExtender22_popupTable');
            var v21 = document.getElementById('ctl00_ContentPlaceHolder1_ValidatorCalloutExtender21_popupTable');
            if (cur == '0') {
                ValidatorEnable(document.getElementById('ctl00_ContentPlaceHolder1_RequiredFieldValidator経験作業名1'), false);
                ValidatorEnable(document.getElementById('ctl00_ContentPlaceHolder1_RequiredFieldValidatortxt_具体的仕事内容'), false);
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名1').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名2').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名1').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名2').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名3').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_dv具体的仕事内容').style.display = 'none';
                document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名1").value = "-1";
                document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名2").value = "-1";
                document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名3").value = "-1";
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').value = "Không có";
                document.getElementById('ctl00_ContentPlaceHolder1_hd1').value = '0';
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名1"));
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名2"));
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"));
            } else if (cur == '0' && document.getElementById('ctl00_ContentPlaceHolder1_hd1').value == '0') {
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名1').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名2').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名3').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_hd1').value = '0';
                document.getElementById('ctl00_ContentPlaceHolder1_ValidatorCalloutExtender32_popupTable').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_ValidatorCalloutExtender35_popupTable').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名1').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名2').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = true;
            } else if (cur == '1') {
                ValidatorEnable(document.getElementById('ctl00_ContentPlaceHolder1_RequiredFieldValidator経験作業名1'), true);
                ValidatorEnable(document.getElementById('ctl00_ContentPlaceHolder1_RequiredFieldValidatortxt_具体的仕事内容'), true);
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名1').disabled = false;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名2').disabled = false;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3').disabled = false;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = false;
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名1').style.display = '';
                if (document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名1').value == -1) {
                    document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名2').disabled = true;
                } if (document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名1').value == -1) {
                    document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3').disabled = true;

                } if (document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名1').value == -1) {
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = true;
                } else {
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = false;
                }
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名2').style.display = '';
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名3').style.display = '';
                document.getElementById('ctl00_ContentPlaceHolder1_dv具体的仕事内容').style.display = '';
                if (document.getElementById("ctl00_ContentPlaceHolder1_txt_具体的仕事内容").value == "Không có") {
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').value = "";
                }
                document.getElementById('ctl00_ContentPlaceHolder1_hd1').value = '1';

            } else if (cur == '1' && document.getElementById('ctl00_ContentPlaceHolder1_hd1').value == '1') {
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名1').style.display = '';
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名2').style.display = '';
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名3').style.display = '';
                document.getElementById('ctl00_ContentPlaceHolder1_hd1').value = '1';
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名1').disabled = false;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名2').disabled = false;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3').disabled = false;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = false;
            } else {
                ValidatorEnable(document.getElementById('ctl00_ContentPlaceHolder1_RequiredFieldValidator経験作業名1'), false);
                ValidatorEnable(document.getElementById('ctl00_ContentPlaceHolder1_RequiredFieldValidatortxt_具体的仕事内容'), false);
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名1').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名2').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = true;
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名1').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名2').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_dv経験作業名3').style.display = 'none';
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').value = "";
                document.getElementById('ctl00_ContentPlaceHolder1_dv具体的仕事内容').style.display = 'none';
                document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名1").value = "-1";
                document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名2").value = "-1";
                document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名3").value = "-1";
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名1"));
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名2"));
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"));
            }
        }
        //enable or disable experience works 
        function showKinhNghiem() {
            var kn1 = document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名1');
            var kn2 = document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名2');
            var kn3 = document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3');
            var job = document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容');
            if (kn1.value != -1) {
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名2').disabled = false;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = false;
            }
            if (kn2.value != -1) {
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3').disabled = false;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = false;
            } else {
                kn3.value = -1;
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名2"));
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3').disabled = true;
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"));

            }
            if (kn1.value == -1) {
                kn2.value = -1;
                kn3.value = -1;
                job.value = "";
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名2').disabled = true;
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名2"));
                document.getElementById('ctl00_ContentPlaceHolder1_ddl_経験作業名3').disabled = true;
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"));
                document.getElementById('ctl00_ContentPlaceHolder1_txt_具体的仕事内容').disabled = true;
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidatortxt_具体的仕事内容"));
            }
        }
        $(document).ready(function() {
            registerControlToValidation("validation");

            formatDate("css_text_calender", "/");

            formatMoney("money", ",", ".",0,"left");

            document.getElementById('<%=txt_姓.ClientID %>').focus();

            $('#<%=txt_現住所.ClientID %>').maxlength({
                events: [], // Array of events to be triggerd    
                maxCharacters: 500, // Characters limit   
                status: false, // True to show status indicator bewlow the element    
                showAlert: false, // True to show a regular alert message    
                slider: false // True Use counter slider
            });

            $('#<%=txt_趣味.ClientID %>').maxlength({
                events: [], // Array of events to be triggerd    
                maxCharacters: 500, // Characters limit   
                status: false, // True to show status indicator bewlow the element    
                showAlert: false, // True to show a regular alert message    
                slider: false // True Use counter slider
            });

            $('#<%=ddl_最終学歴.ClientID %>').maxlength({
                events: [], // Array of events to be triggerd    
                maxCharacters: 100, // Characters limit   
                status: false, // True to show status indicator bewlow the element    
                showAlert: false, // True to show a regular alert message    
                slider: false // True Use counter slider
            });

            $('#<%=txt_具体的仕事内容.ClientID %>').maxlength({
                events: [], // Array of events to be triggerd    
                maxCharacters: 500, // Characters limit   
                status: false, // True to show status indicator bewlow the element    
                showAlert: false, // True to show a regular alert message    
                slider: false // True Use counter slider
            });

            registerEnterEvent("next_control", "<%= btn_登録.ClientID %>", 33);

            setTimeout('ShowDiv("ctl00_ContentPlaceHolder1_ddl_就業経験有無");showKinhNghiem();', 200);

        });
        //check age from 18 to 35
        function checkdate(oSrc, args) {
            args.IsValid = (checkYearOld(args.Value, getNowDate(new Date()), 18, "<=")) && (!checkYearOld(args.Value, getNowDate(new Date()), 35, "<="));
        }
        //check height
        function checkChieuCao(oSrc, args) {
            var chieucaoinput = args.Value;
   
            //alert(chieucaoinput);
            if (chieucaoinput < 100) {
                args.IsValid = false;
            }
            if (chieucaoinput > 250) {
                args.IsValid = false;
            }
            return true;
        }
        //check weight
        function checkCanNang(oSrc, args) {
            var cannanginput = args.Value;

            //alert(cannanginput);
            if (cannanginput > 200) {
                args.IsValid = false;
            }
            if (cannanginput < 30) {
                args.IsValid = false;
            }
            return true;
        }

        //check null identity card day
        function checkNgayCapCMND(oSrc, args) {
            var datesinhinput = $('#<%= textbox1.ClientID%>').val();

            //alert(day_sinh);
            if (datesinhinput.length == 0) {
                args.IsValid = false;
            }

            return true;
        }

        //check identity card day
        function kiemtrangaycapCMND(oSrc, args) {
            args.IsValid = checkYearOld($('#<%= textbox1.ClientID%>').val(), args.Value, 14, "<=");
        }
        //check graduate day
        function kiemtrangayTN(oSrc, args) {
            args.IsValid = checkYearOld(getNowDate(new Date()), args.Value, 0, "<=");
        }

        function NgayCapCMND(oSrc, args) {
            args.IsValid = checkYearOld(args.Value, getNowDate(new Date()), 0, "<");
        }
        //check experience
        function checkKinhNghiemLamViec1(oSrc, args) {
            var ddl = document.getElementById("ctl00_ContentPlaceHolder1_ddl_就業経験有無").value;
            if (ddl == '1') {
                var kn2 = document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名2").value;
                var kn3 = document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名3").value;
                if (args.Value != '-1') {
                    if (args.Value == kn2) {
                        ValidatorEnable2(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名2"), true);
                    } if (args.Value == kn3) {
                        ValidatorEnable2(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"), true);
                    } if (args.Value != kn2) {
                        RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名2"));

                    } if (args.Value != kn3) {
                        RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"));
                    }
                }
            }

        }
        //check experience
        function checkKinhNghiemLamViec2(oSrc, args) {
            var ddl = document.getElementById("ctl00_ContentPlaceHolder1_ddl_就業経験有無").value;
            if (ddl == '1') {
                var kn1 = document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名1").value;
                var kn3 = document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名3").value;
                if (args.Value != "-1") {
                    if (args.Value == kn1) {
                        args.IsValid = false;
                    }
                    else {
                        RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名2"));
                        args.IsValid = true;
                    }
                }
            } else if (ddl == '0') {
                args.IsValid = true;
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名2"));
            }
        }
        //check experience
        function checkKinhNghiemLamViec21(oSrc, args) {
            var ddl = document.getElementById("ctl00_ContentPlaceHolder1_ddl_就業経験有無").value;
            if (ddl == '1') {
                var kn3 = document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名3").value;
                if (args.Value != "-1") {
                    if (args.Value == kn3) {
                        ValidatorEnable2(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"), true);
                    } else {
                        RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"));
                    }
                }
            }
        }
        //check experience
        function checkKinhNghiemLamViec3(oSrc, args) {
            var ddl = document.getElementById("ctl00_ContentPlaceHolder1_ddl_就業経験有無").value;
            if (ddl == '1') {
                var kn1 = document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名1").value;
                var kn2 = document.getElementById("ctl00_ContentPlaceHolder1_ddl_経験作業名2").value;
                if (args.Value != "-1") {
                    if (args.Value == kn1 || args.Value == kn2) {
                        args.IsValid = false;
                    }
                    else {
                        RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"));
                        args.IsValid = true;

                    }
                }
            } else if (ddl == '0') {
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator経験作業名3"));
                args.IsValid = true;
            }
        }
        //check telephone
        function testphone(oSrc, args) {
            var t1 = document.getElementById("ctl00_ContentPlaceHolder1_txt_電話番号").value;
            var t2 = document.getElementById("ctl00_ContentPlaceHolder1_txt_電話番号1").value;
            var t3 = document.getElementById("ctl00_ContentPlaceHolder1_txt_電話番号2").value;

            var t11 = document.getElementById("ctl00_ContentPlaceHolder1_txt_携帯電話").value;
            var t22 = document.getElementById("ctl00_ContentPlaceHolder1_txt_携帯電話1").value;
            var t33 = document.getElementById("ctl00_ContentPlaceHolder1_txt_携帯電話2").value;
            
            if (t1 != "" || t2 != "" || t3 != "") {
                if (args.Value == '') {
                    args.IsValid = false;

                }
            } else if (t11 == "" && t22 == "" && t33 == "") {
                args.IsValid = false;

            } else if (t1 == "" && t2 == "" && t3 == "") {
                $("#ctl00_ContentPlaceHolder1_txt_電話番号").removeClass("invalid");
                $("#ctl00_ContentPlaceHolder1_txt_電話番号1").removeClass("invalid");
                $("#ctl00_ContentPlaceHolder1_txt_電話番号2").removeClass("invalid");
            }
            if ((t1 != "" && t2 != "" && t3 != "") && ((t11 == "" && t22 == "" && t33 == "") || (t11 != "" || t22 != "" || t33 != ""))) {
                $("#ctl00_ContentPlaceHolder1_txt_携帯電話").removeClass("invalid");
                $("#ctl00_ContentPlaceHolder1_txt_携帯電話1").removeClass("invalid");
                $("#ctl00_ContentPlaceHolder1_txt_携帯電話2").removeClass("invalid");
            }

        }
        //check telephone
        function testphone1(oSrc, args) {
            var t1 = document.getElementById("ctl00_ContentPlaceHolder1_txt_電話番号").value;
            var t2 = document.getElementById("ctl00_ContentPlaceHolder1_txt_電話番号1").value;
            var t3 = document.getElementById("ctl00_ContentPlaceHolder1_txt_電話番号2").value;

            var t11 = document.getElementById("ctl00_ContentPlaceHolder1_txt_携帯電話").value;
            var t22 = document.getElementById("ctl00_ContentPlaceHolder1_txt_携帯電話1").value;
            var t33 = document.getElementById("ctl00_ContentPlaceHolder1_txt_携帯電話2").value;

            if (t11 != "" || t22 != "" || t33 != "") {
                if (args.Value == '') {
                    args.IsValid = false;

                }
            } else if (t1 == "" && t2 == "" && t3 == "") {
                args.IsValid = false;

            } else if (t11 == "" && t22 == "" && t33 == "") {
                $("#ctl00_ContentPlaceHolder1_txt_携帯電話").removeClass("invalid");
                $("#ctl00_ContentPlaceHolder1_txt_携帯電話1").removeClass("invalid");
                $("#ctl00_ContentPlaceHolder1_txt_携帯電話2").removeClass("invalid");
            }
            if ((t11 != "" && t22 != "" && t33 != "") && ((t1 == "" && t2 == "" && t3 == "") || (t1 != "" || t2 != "" || t3 != ""))) {
                $("#ctl00_ContentPlaceHolder1_txt_電話番号").removeClass("invalid");
                $("#ctl00_ContentPlaceHolder1_txt_電話番号1").removeClass("invalid");
                $("#ctl00_ContentPlaceHolder1_txt_電話番号2").removeClass("invalid");
            }

        }

        //check school name
        function checkSchool(oSrc, args) {
            var name = document.getElementById("ctl00_ContentPlaceHolder1_txt_在学学校名").value;
            var time = document.getElementById("ctl00_ContentPlaceHolder1_textbox3").value;
            if (name == "" && time != "") {
                args.IsValid = false;
            } else if (name != "" && time == "") {
                args.IsValid = true;
            } else if (name == "" && time == "") {
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator6"));
            } else if (name != "" && time != "") {
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator6"));
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidatortxt_在学学校名"));
            }
        }
        //check school name
        function checkSchool1(oSrc, args) {
            var name = document.getElementById("ctl00_ContentPlaceHolder1_txt_在学学校名").value;
            var time = document.getElementById("ctl00_ContentPlaceHolder1_textbox3").value;
            if (name == "" && time != "") {
                args.IsValid = true;
                ValidatorEnable2(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidatortxt_在学学校名"), true);
                ValidatorEnable2(document.getElementById("ctl00_ContentPlaceHolder1_validatetxt_textbox1"), true);
            } else if (name != "" && time == "") {
                args.IsValid = false;
            } else if (name == "" && time == "") {
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidatortxt_在学学校名"));
            } else if (name != "" && time != "") {
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidator6"));
                RemoveInvalid(document.getElementById("ctl00_ContentPlaceHolder1_CustomValidatortxt_在学学校名"));
            }
        }

        //check CMND null
        function checkCMND(oSrc, args) {
            var cmnd = document.getElementById("ctl00_ContentPlaceHolder1_txt_ID番号").value;
            var time = document.getElementById("ctl00_ContentPlaceHolder1_textbox2").value;
            if (cmnd == "" && time != "") {
                args.IsValid = true;
                ValidatorEnable2(document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidatortxt_ID番号"), true);
                ValidatorEnable2(document.getElementById("ctl00_ContentPlaceHolder1_validatetxt_textbox1"), true);
            }
        }

        //check CMND exist
        var jsonSuccess = false;
        var exist = false;
        function loadCMND() {
            setTimeout(function() {
                var cmnd = $("#ctl00_ContentPlaceHolder1_txt_ID番号").val();
                $("#flg").val("1");
                $.ajax({
                    type: "POST",
                    url: "frm_TraineeBasicInfo.aspx/IsExisted",
                    data: "{'cmnd_no': '" + cmnd + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function(data) {
                        jsonSuccess = true;
                        exist = data.d;
                        ValidatorEnable2(document.getElementById('ctl00_ContentPlaceHolder1_CustomValidatorID番号'), true);
                    }
                });
            }, 100);

        }
        function checkCMNDExist(oSrc, args) {
            if (jsonSuccess) {
                if (exist == false) {
                    args.IsValid = true;
                }
                else {
                    args.IsValid = false;
                }
                jsonSuccess = false;
            }
            else {
                loadCMND();
            }
        }
    </script>

    <style type="text/css">
        .next_control
        {
        }
        .css_calender
        {
            ime-mode: disabled;
        }
        .style1
        {
            color: Red;
            font-size: 9pt;
        }
        .line
        {
            width: 720px;
            margin-left: 20px;
        }
        .css_font_textbox
        {
            float: left;
        }
        .ddlJ_TraineeSearch
        {
            font-size: 10pt;
        }
    </style>
    <input type="hidden" id="flg" value="0" />
    <div class="maindiv">
        <div class="Header1">
            <span>
                <asp:Label ID="lbTaolao" runat="server" Text="Nhập bắt buộc các mục có dấu *"></asp:Label></span>
        </div>
        <div>
            &nbsp;</div>
        <div id="dv氏名" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label1" runat="server" Text="Họ và Tên :"></asp:Label></span>
            <asp:TextBox CssClass="next_control validation textbox width2" ID="txt_姓" runat="server"
                MaxLength="50"></asp:TextBox>
            <asp:RequiredFieldValidator runat="server" ID="NReq" ControlToValidate="txt_姓" Display="None"
                SetFocusOnError="false" ErrorMessage="Vui lòng nhập họ" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="NReqE" TargetControlID="NReq"
                HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                Width="215px" />
            <asp:TextBox CssClass="next_control validation textbox width2" ID="txt_名" runat="server" ValidationGroup="detailForm" MaxLength="50"></asp:TextBox>
            <asp:RequiredFieldValidator runat="server" ID="MReq" ControlToValidate="txt_名" Display="None"
                SetFocusOnError="false" ErrorMessage="Vui lòng nhập tên" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender1"
                TargetControlID="MReq" CssClass="CustomValidatorCalloutStyle" HighlightCssClass="invalid"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
            <span class="required-field">*</span>
        </div>
        <div id="dv性別" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label2" runat="server" Text="Giới tính :"></asp:Label></span>
            <asp:DropDownList ID="ddl_性別" runat="server" CssClass="next_control validation dropdownlist width2">
                <asp:ListItem Value="-1" Selected="true">Lựa chọn</asp:ListItem>
                <asp:ListItem Value="0">Nam</asp:ListItem>
                <asp:ListItem Value="1">Nữ</asp:ListItem>
            </asp:DropDownList>
            <span class="required-field">&nbsp;*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator性別" ControlToValidate="ddl_性別"
                Display="None" InitialValue="-1" SetFocusOnError="false" ErrorMessage="国籍: sss" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender6"
                TargetControlID="RequiredFieldValidator性別" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="200px" />
        </div>
        <div id="Div1" runat="server" class="Header3" style="margin-top: 20px;">
            <asp:Label ID="Label3" runat="server" Text="※Nếu không biết ngày tháng sinh thì nhập ngày tháng sinh là 1 tháng 1　"
                Style="margin-left: -55px;"></asp:Label><br />
            <span class="Header3" style="margin-left:-205px;">※Định dạng ngày tháng theo kiểu Năm/Tháng/Ngày</span>
        </div>
        <div id="dv生年月日" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label4" runat="server" Text="Ngày tháng năm sinh :"></asp:Label></span>
            <asp:TextBox ID="textbox1" runat="server" CssClass="next_control css_text_calender validation textbox width_calendar"
                onkeypress="return InputNumberKeys(this, event)" MaxLength="8" />
            &nbsp;<asp:ImageButton ID="ImageButton2" runat="server" CssClass="btn_calendar"
                ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm" />
            <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" PopupButtonID="ImageButton2"
                TargetControlID="textbox1" Format="yyyy/MM/dd">
            </ajaxToolkit:CalendarExtender>
            <span class="required-field">*</span>
            <asp:RequiredFieldValidator runat="server" ID="validatetxt_textbox1" ControlToValidate="textbox1"
                Display="None" SetFocusOnError="false" ErrorMessage="" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender2"
                TargetControlID="validatetxt_textbox1" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
            <asp:CustomValidator ID="CustomValidatortextbox1" runat="server" ControlToValidate="textbox1"
                ClientValidationFunction="isDate" ErrorMessage="Ngày tháng năm sinh không hợp lệ"
                Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender31"
                TargetControlID="CustomValidatortextbox1" HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="280px" />
            <asp:CustomValidator ID="CustomValidatortextbox11" runat="server" ControlToValidate="textbox1"
                ClientValidationFunction="checkdate" ErrorMessage="" Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender20"
                TargetControlID="CustomValidatortextbox11" HighlightCssClass="invalid2" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="440px" />
        </div>
        <div id="dv国籍" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label5" runat="server" Text="Quốc tịch :"></asp:Label></span>
            <asp:DropDownList ID="ddl_国籍" runat="server" OnSelectedIndexChanged="ddl_国籍_SelectedIndexChanged"
                CssClass="next_control dropdownlist width2">
            </asp:DropDownList>
            <span class="required-field">&nbsp;*</span>
        </div>
        <div id="dv出身地" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label6" runat="server" Text="Nơi sinh :"></asp:Label></span>
            <asp:TextBox ID="txt_出身地" runat="server" ValidationGroup="detailForm"
                MaxLength="500" CssClass="next_control validation textbox width2"></asp:TextBox>
            <span class="required-field">*</span>
            <asp:RequiredFieldValidator runat="server" ID="validatetxt_出身地" ControlToValidate="txt_出身地"
                Display="None" SetFocusOnError="false" ErrorMessage="" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender3"
                TargetControlID="validatetxt_出身地" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
        </div>
        <div id="dvID番号" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label17" runat="server" Text="CMND :"></asp:Label></span>
            <asp:TextBox ID="txt_ID番号" runat="server" ValidationGroup="detailForm"
                MaxLength="11" CssClass="next_control validation textbox width2 css_calender" onpaste="return false"
                onkeypress="return InputNumberKeys(this, event)"></asp:TextBox>
            <span class="required-field">*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatortxt_ID番号" ControlToValidate="txt_ID番号"
                Display="None" SetFocusOnError="false" ErrorMessage="" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender8"
                TargetControlID="RequiredFieldValidatortxt_ID番号" HighlightCssClass="invalid"
                CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                Width="215px" />
            <asp:CustomValidator runat="server" ID="CustomValidatorID番号" ClientValidationFunction="checkCMNDExist"
                ErrorMessage="" ControlToValidate="txt_ID番号" Display="None" SetFocusOnError="false"
                ValidateEmptyText="false">
            </asp:CustomValidator>
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender33"
                TargetControlID="CustomValidatorID番号" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="230px" />
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display="None"
                ErrorMessage="RegularExpressionValidator" ValidationExpression="^[0-9]{9,11}$"
                ControlToValidate="txt_ID番号"></asp:RegularExpressionValidator>
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender42"
                TargetControlID="RegularExpressionValidator1" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" />
        </div>
        <div id="dvＩＤ番号発行日" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label18" runat="server" Text="Ngày cấp CMND :"></asp:Label></span>
            <asp:TextBox ID="textbox2" runat="server" CssClass="next_control css_text_calender validation textbox width_calendar"
                onkeypress="return InputNumberKeys(this, event)" MaxLength="8" />
            &nbsp;<asp:ImageButton ID="ImageButton1" runat="server" CssClass="btn_calendar"
                ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm" />
            <ajaxToolkit:CalendarExtender ID="CalendarExtender2" runat="server" PopupButtonID="ImageButton1"
                TargetControlID="textbox2" Format="yyyy/MM/dd">
            </ajaxToolkit:CalendarExtender>
            <asp:CustomValidator ID="CustomValidatortextbox2" runat="server" ControlToValidate="textbox2"
                ClientValidationFunction="isDate" ErrorMessage="Ngày cấp CMND không hợp lệ" Display="None"
                SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender23"
                TargetControlID="CustomValidatortextbox2" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" />
            <asp:CustomValidator ID="CustomValidatortextbox22" runat="server" ControlToValidate="textbox2"
                ClientValidationFunction="checkNgayCapCMND" ErrorMessage="Vui lòng nhập Ngày tháng năm sinh trước"
                Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender27"
                TargetControlID="CustomValidatortextbox22" HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="320px" />
            <asp:CustomValidator ID="CustomValidatortextbox222" runat="server" ControlToValidate="textbox2"
                ClientValidationFunction="NgayCapCMND" ErrorMessage="Ngày cấp CMND phải nhỏ hơn Ngày tháng năm hiện tại"
                Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender29"
                TargetControlID="CustomValidatortextbox222" HighlightCssClass="invalid2" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="400px" />
            <asp:CustomValidator ID="CustomValidatorkiemtrangaycapCMND" runat="server" ControlToValidate="textbox2"
                ClientValidationFunction="kiemtrangaycapCMND" ErrorMessage="" Display="None"
                SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender38"
                TargetControlID="CustomValidatorkiemtrangaycapCMND" HighlightCssClass="invalid3"
                CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png" />
            <asp:CustomValidator ID="CustomValidator7" runat="server" ControlToValidate="textbox2"
                ClientValidationFunction="checkCMND" ErrorMessage="Thời gian dự định tốt nghiệp không hợp lệ"
                Display="None" SetFocusOnError="false" ValidateEmptyText="True" />
        </div>
        <div id="dv発行機関" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label19" runat="server" Text="Nơi cấp CMND :"></asp:Label></span>
            <asp:TextBox ID="txt_発行機関" runat="server" ValidationGroup="detailForm"
                MaxLength="100" CssClass="next_control validation textbox width2"></asp:TextBox>
            <span class="required-field">*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatortxt_発行機関" ControlToValidate="txt_発行機関"
                Display="None" SetFocusOnError="false" ErrorMessage="" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender9"
                TargetControlID="RequiredFieldValidatortxt_発行機関" HighlightCssClass="invalid"
                CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                Width="215px" />
        </div>
        <div id="dv宗教" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label20" runat="server" Text="Tôn giáo :"></asp:Label></span>
            <asp:TextBox ID="txt_宗教" runat="server" ValidationGroup="detailForm"
                MaxLength="100" CssClass="next_control validation textbox width2"></asp:TextBox>
            <span class="required-field">*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatortxt_宗教" ControlToValidate="txt_宗教"
                Display="None" SetFocusOnError="false" ErrorMessage="" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender10"
                TargetControlID="RequiredFieldValidatortxt_宗教" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
        </div>
        <div id="dv民族" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label21" runat="server" Text="Dân tộc :"></asp:Label></span>
            <asp:TextBox ID="txt_民族" runat="server" ValidationGroup="detailForm"
                MaxLength="100" CssClass="next_control validation textbox width2"></asp:TextBox>
            <span class="required-field">*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatortxt_民族" ControlToValidate="txt_民族"
                Display="None" SetFocusOnError="false" ErrorMessage="" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender11"
                TargetControlID="RequiredFieldValidatortxt_民族" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
        </div>
        <div id="dv身長" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label7" runat="server" Text="Chiều cao :"></asp:Label></span>
            <asp:TextBox ID="txt_身長" runat="server" ValidationGroup="detailForm"
                MaxLength="3" CssClass="next_control css_calender validation money textbox width_tel" onpaste="return false"
                onkeypress="return InputNumberKeys(this, event)"></asp:TextBox>
            (cm)<span class="required-field">*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatortxt_身長" ControlToValidate="txt_身長"
                Display="None" SetFocusOnError="false" ErrorMessage="" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender12"
                TargetControlID="RequiredFieldValidatortxt_身長" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
            <asp:CustomValidator ID="CustomValidatortxt_身長" runat="server" ControlToValidate="txt_身長"
                ClientValidationFunction="checkChieuCao" ErrorMessage="" Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender25"
                TargetControlID="CustomValidatortxt_身長" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="370px" />
                
            <asp:CustomValidator ID="CustomValidator16" runat="server" ControlToValidate="txt_身長"
                ClientValidationFunction="CheckInputNumberKeys" ErrorMessage="" Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender49"
                TargetControlID="CustomValidator16" HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="210px" />
            <span class="note">Làm tròn số ・ Ví dụ 175,5cm -> 175cm</span>
        </div>
        <div id="dv体重" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label8" runat="server" Text="Cân nặng :"></asp:Label></span>
            <asp:TextBox ID="txt_体重" runat="server" ValidationGroup="detailForm"
                MaxLength="3" CssClass="next_control css_calender validation money textbox width_tel" onpaste="return false"
                onkeypress="return InputNumberKeys(this, event)"></asp:TextBox>
             &nbsp;(kg)<span class="required-field">*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatortxt_体重" ControlToValidate="txt_体重"
                Display="None" SetFocusOnError="false" ErrorMessage="" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender13"
                TargetControlID="RequiredFieldValidatortxt_体重" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
            <asp:CustomValidator ID="CustomValidatortxt_体重" runat="server" ControlToValidate="txt_体重"
                ClientValidationFunction="checkCanNang" ErrorMessage="" Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender26"
                TargetControlID="CustomValidatortxt_体重" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="355px" />
                
            <asp:CustomValidator ID="CustomValidator17" runat="server" ControlToValidate="txt_体重"
                ClientValidationFunction="CheckInputNumberKeys" ErrorMessage="" Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender50"
                TargetControlID="CustomValidator17" HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="210px" />
            <span class="note">Làm tròn số ・ ví dụ 60,5kg -> 60kg</span>
        </div>
        <div id="dv視力" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label9" runat="server" Text="Thị lực :"></asp:Label></span>
            <asp:DropDownList ID="ddl_視力" runat="server" CssClass="next_control validation dropdownlist width2">
                <asp:ListItem Value="-1" Selected="true">Lựa chọn</asp:ListItem>
                <asp:ListItem Value="0">Bình thường</asp:ListItem>
                <asp:ListItem Value="1">Đeo kính</asp:ListItem>
                <asp:ListItem Value="2">Đeo kính áp tròng</asp:ListItem>
            </asp:DropDownList>
            <span class="required-field">&nbsp;*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator視力" ControlToValidate="ddl_視力"
                Display="None" InitialValue="-1" SetFocusOnError="false" ErrorMessage="視力:ss" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender14"
                TargetControlID="RequiredFieldValidator視力" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="200px" />
        </div>
        <div id="Div2" runat="server" class="Header3" style="margin-left: -10px; margin-top: 20px;">
            <asp:Label ID="Label10" runat="server" Text="※Nhập bắt buộc 1 trong 2 số điện thoại"
                Style="margin-left: -25px;"></asp:Label>
        </div>
        <div id="dv電話番号" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label13" runat="server" Text="Điện thoại cố định :"></asp:Label></span>
                <asp:TextBox ID="txt_電話番号" runat="server" ValidationGroup="detailForm" MaxLength="5"
                    CssClass="next_control css_calender validation textbox width_tel" onpaste="return false" onkeypress="return InputNumberKeys(this, event)">
                </asp:TextBox>
                <asp:CustomValidator ID="CustomValidator4" runat="server" ControlToValidate="txt_電話番号"
                    ClientValidationFunction="testphone" ErrorMessage="CustomValidator" ValidateEmptyText="True"
                    Display="None"></asp:CustomValidator>
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender36"
                    TargetControlID="CustomValidator4" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                    WarningIconImageUrl="Images/warning.png" Width="215px" />
                 
                <asp:CustomValidator ID="CustomValidator10" runat="server" ControlToValidate="txt_電話番号"
                    ClientValidationFunction="CheckInputNumberKeys" ErrorMessage="CustomValidator" ValidateEmptyText="True"
                    Display="None"></asp:CustomValidator>
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender43"
                    TargetControlID="CustomValidator10" HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle"
                    WarningIconImageUrl="Images/warning.png" Width="215px" />
            <span>-</span>
            <asp:TextBox ID="txt_電話番号1" runat="server" ValidationGroup="detailForm"
                MaxLength="4" CssClass="next_control validation textbox width_tel" onpaste="return false" onkeypress="return InputNumberKeys(this, event)">
                </asp:TextBox><asp:CustomValidator
                    ID="CustomValidator3" runat="server" ControlToValidate="txt_電話番号1" ClientValidationFunction="testphone"
                    ErrorMessage="CustomValidator" ValidateEmptyText="True" Display="None"></asp:CustomValidator>
                <ajaxToolkit:ValidatorCalloutExtender
                        runat="Server" ID="ValidatorCalloutExtender30" TargetControlID="CustomValidator3"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                        Width="215px" />
                        
                </asp:TextBox><asp:CustomValidator
                    ID="CustomValidator11" runat="server" ControlToValidate="txt_電話番号1" ClientValidationFunction="CheckInputNumberKeys"
                    ErrorMessage="CustomValidator" ValidateEmptyText="True" Display="None"></asp:CustomValidator>
                <ajaxToolkit:ValidatorCalloutExtender
                        runat="Server" ID="ValidatorCalloutExtender44" TargetControlID="CustomValidator11"
                        HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                        Width="215px" />
            <span>-</span>
            <asp:TextBox ID="txt_電話番号2" runat="server" ValidationGroup="detailForm"
                MaxLength="4" CssClass="next_control validation textbox width_tel" onpaste="return false" onkeypress="return InputNumberKeys(this, event)"></asp:TextBox>
                <asp:CustomValidator
                    ID="CustomValidator2" runat="server" ControlToValidate="txt_電話番号2" ClientValidationFunction="testphone"
                    ErrorMessage="CustomValidator" ValidateEmptyText="True" Display="None">
                 </asp:CustomValidator>
                 <ajaxToolkit:ValidatorCalloutExtender
                        runat="Server" ID="ValidatorCalloutExtender16" TargetControlID="CustomValidator2"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                        Width="215px" />
                        
                <asp:CustomValidator
                    ID="CustomValidator12" runat="server" ControlToValidate="txt_電話番号2" ClientValidationFunction="CheckInputNumberKeys"
                    ErrorMessage="CustomValidator" ValidateEmptyText="True" Display="None">
                 </asp:CustomValidator>
                 <ajaxToolkit:ValidatorCalloutExtender
                        runat="Server" ID="ValidatorCalloutExtender45" TargetControlID="CustomValidator12"
                        HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                        Width="215px" />
        </div>
        <div id="dv携帯電話" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label12" runat="server" Text="Điện thoại di động :"></asp:Label></span>
                <asp:TextBox ID="txt_携帯電話" runat="server" ValidationGroup="detailForm" MaxLength="5"
                    CssClass="next_control validation textbox width_tel" onpaste="return false" onkeypress="return InputNumberKeys(this, event)"></asp:TextBox>
                    <asp:CustomValidator ID="CustomValidator5" runat="server" ErrorMessage="CustomValidator" ValidateEmptyText="True"
                        ClientValidationFunction="testphone1" ControlToValidate="txt_携帯電話" Display="None"></asp:CustomValidator>
                    <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender15" TargetControlID="CustomValidator5"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png" Width="215px" />
                        
                    <asp:CustomValidator ID="CustomValidator13" runat="server" ErrorMessage="CustomValidator" ValidateEmptyText="True"
                        ClientValidationFunction="CheckInputNumberKeys" ControlToValidate="txt_携帯電話" Display="None"></asp:CustomValidator>
                    <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender46" TargetControlID="CustomValidator13"
                        HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png" Width="215px" />
            <span>-</span>
            <asp:TextBox ID="txt_携帯電話1" runat="server" ValidationGroup="detailForm"
                MaxLength="4" CssClass="next_control validation textbox width_tel" onpaste="return false" onkeypress="return InputNumberKeys(this, event)"></asp:TextBox>
                <asp:CustomValidator
                    ID="CustomValidator9" runat="server" ControlToValidate="txt_携帯電話1" ClientValidationFunction="testphone1"
                    ErrorMessage="CustomValidator" ValidateEmptyText="True" Display="None"></asp:CustomValidator>
                    <ajaxToolkit:ValidatorCalloutExtender
                        runat="Server" ID="ValidatorCalloutExtender40" TargetControlID="CustomValidator9"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                        Width="215px" />
                        
                    <asp:CustomValidator
                    ID="CustomValidator14" runat="server" ControlToValidate="txt_携帯電話1" ClientValidationFunction="CheckInputNumberKeys"
                    ErrorMessage="CustomValidator" ValidateEmptyText="True" Display="None"></asp:CustomValidator>
                    <ajaxToolkit:ValidatorCalloutExtender
                        runat="Server" ID="ValidatorCalloutExtender47" TargetControlID="CustomValidator14"
                        HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                        Width="215px" />
            <span>-</span>
            <asp:TextBox ID="txt_携帯電話2" runat="server" ValidationGroup="detailForm"
                MaxLength="4" CssClass="next_control validation textbox width_tel" onpaste="return false" onkeypress="return InputNumberKeys(this, event)"></asp:TextBox>
                <asp:CustomValidator
                    ID="CustomValidator8" runat="server" ControlToValidate="txt_携帯電話2" ClientValidationFunction="testphone1"
                    ErrorMessage="CustomValidator" ValidateEmptyText="True" Display="None"></asp:CustomValidator><ajaxToolkit:ValidatorCalloutExtender
                        runat="Server" ID="ValidatorCalloutExtender37" TargetControlID="CustomValidator8"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                        Width="215px" />
                <asp:CustomValidator
                    ID="CustomValidator15" runat="server" ControlToValidate="txt_携帯電話2" ClientValidationFunction="CheckInputNumberKeys"
                    ErrorMessage="CustomValidator" ValidateEmptyText="True" Display="None"></asp:CustomValidator><ajaxToolkit:ValidatorCalloutExtender
                        runat="Server" ID="ValidatorCalloutExtender48" TargetControlID="CustomValidator15"
                        HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                        Width="215px" />        
        </div>
        <div id="dvEmail" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label14" runat="server" Text="Email :"></asp:Label></span><asp:TextBox
                    ID="txt_Email" runat="server" ValidationGroup="detailForm" MaxLength="100"
                    CssClass="next_control validation textbox width3"></asp:TextBox><asp:RequiredFieldValidator runat="server"
                        ID="RequiredFieldValidatorEmail" ControlToValidate="txt_Email" Display="None"
                        SetFocusOnError="false" ErrorMessage="ko duoc rong" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender18"
                TargetControlID="RequiredFieldValidatorEmail" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
            <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidatorEmail"
                ControlToValidate="txt_Email" ValidationExpression="^[\w-\.]{1,}\@([\da-zA-Z-]{1,}(\.)){1,}[\da-zA-Z-]{2,6}$"
                ErrorMessage="Email không đúng định dạng" SetFocusOnError="false" Display="none" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender5"
                TargetControlID="RegularExpressionValidatorEmail" HighlightCssClass="invalid"
                CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                Width="245px" />
                
             <asp:CustomValidator
                    ID="CustomValidator18" runat="server" ControlToValidate="txt_Email"
                    ErrorMessage="CustomValidator" ValidateEmptyText="True" Display="None" 
                onservervalidate="CustomValidator18_ServerValidate"></asp:CustomValidator><ajaxToolkit:ValidatorCalloutExtender
                        runat="Server" ID="ValidatorCalloutExtender51" TargetControlID="CustomValidator18"
                        HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                        Width="215px" /> 
            <span class="required-field">*</span>
        </div>
        <div id="dv現住所" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label11" runat="server" Text="Nơi ở hiện tại :"></asp:Label></span><asp:TextBox
                    ID="txt_現住所" TextMode="MultiLine" runat="server" ValidationGroup="detailForm"
                    MaxLength="10" CssClass="next_control textarea validation width3"></asp:TextBox><span class="required-field">&nbsp;*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatortxt_現住所" ControlToValidate="txt_現住所"
                Display="None" SetFocusOnError="false" ErrorMessage="aaaaaa" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender17"
                TargetControlID="RequiredFieldValidatortxt_現住所" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
        </div>
        <div id="dv趣味" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label16" runat="server" Text="Sở thích :"></asp:Label></span>
                <asp:TextBox ID="txt_趣味" TextMode="MultiLine" runat="server" ValidationGroup="detailForm"
                    MaxLength="500" CssClass="next_control textarea width3"></asp:TextBox></div>
        <div id="dv最終学歴" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label23" runat="server" Text="Bằng cấp cao nhất :"></asp:Label></span>
                <asp:DropDownList ID="ddl_最終学歴" runat="server" CssClass="next_control validation dropdownlist width2">
                    <asp:ListItem Value="-1" Selected="True">Lựa chọn</asp:ListItem>
                    <asp:ListItem Value="0">Tiến Sỹ</asp:ListItem>
                    <asp:ListItem Value="1">Thạc Sỹ</asp:ListItem>
                    <asp:ListItem Value="2">Cử Nhân</asp:ListItem>
                    <asp:ListItem Value="3">Cao Đẳng</asp:ListItem>
                    <asp:ListItem Value="4">Tốt Nghiệp Phổ Thông</asp:ListItem>
                    <asp:ListItem Value="5">Tốt Nghiệp Trung Học</asp:ListItem>
                </asp:DropDownList>
            <span class="required-field">&nbsp;*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator最終学歴" ControlToValidate="ddl_最終学歴"
                Display="None" InitialValue="-1" SetFocusOnError="false" ErrorMessage="aaaaaa" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender19"
                TargetControlID="RequiredFieldValidator最終学歴" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="200px" />
        </div>
        <div id="Div4" runat="server" class="Header3" style="margin-left: -15px; margin-top: 20px;">
            <asp:Label ID="Label28" runat="server" Text="※Nếu đang học thì ghi tên trường và thời gian dự định tốt nghiệp"
                Style="margin-left: -38px;"></asp:Label></div>
        <div id="dv在学学校名" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label29" runat="server" Text="Tên trường đang học :"></asp:Label></span>
            <asp:TextBox ID="txt_在学学校名" runat="server" ValidationGroup="detailForm"
                MaxLength="100" CssClass="next_control textbox width2"></asp:TextBox></div>
        <asp:CustomValidator ID="CustomValidatortxt_在学学校名" runat="server" ControlToValidate="txt_在学学校名"
            ClientValidationFunction="checkSchool" ErrorMessage="Thời gian dự định tốt nghiệp không hợp lệ"
            Display="None" SetFocusOnError="false" ValidateEmptyText="True" />
        <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender4"
            TargetControlID="CustomValidatortxt_在学学校名" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
            WarningIconImageUrl="Images/warning.png" Width="215px" />
        <div id="dv卒業見込み" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label31" runat="server" Text="Thời gian dự định tốt nghiệp :"></asp:Label></span><asp:TextBox
                    ID="textbox3" runat="server" MaxLength="8" CssClass="next_control css_text_calender validation textbox width_calendar "
                    onkeypress="return InputNumberKeys(this, event)" />
            &nbsp;<asp:ImageButton ID="ImageButton3" runat="server" CssClass="btn_calendar"
                ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm" />
            <ajaxToolkit:CalendarExtender ID="CalendarExtender3" runat="server" PopupButtonID="ImageButton3"
                TargetControlID="textbox3" Format="yyyy/MM/dd">
            </ajaxToolkit:CalendarExtender>
            <asp:CustomValidator ID="CustomValidatortextbox3" runat="server" ControlToValidate="textbox3"
                ClientValidationFunction="isDate" ErrorMessage="Thời gian dự định tốt nghiệp không hợp lệ"
                Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender24"
                TargetControlID="CustomValidatortextbox3" HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" />
            <asp:CustomValidator ID="CustomValidatortextbox33" runat="server" ControlToValidate="textbox3"
                ClientValidationFunction="checkNgayCapCMND" ErrorMessage="Vui lòng nhập Ngày tháng năm sinh trước"
                Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender28"
                TargetControlID="CustomValidatortextbox33" HighlightCssClass="invalid2" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="320px" />
            <asp:CustomValidator ID="CustomValidatorkiemtrangayTN" runat="server" ControlToValidate="textbox3"
                ClientValidationFunction="kiemtrangayTN" ErrorMessage="Thời gian dự định tốt nghiệp phải lớn hơn Ngày tháng năm hiện tại"
                Display="None" SetFocusOnError="false" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender39"
                TargetControlID="CustomValidatorkiemtrangayTN" HighlightCssClass="invalid3" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
            <asp:CustomValidator ID="CustomValidator6" runat="server" ControlToValidate="textbox3"
                ClientValidationFunction="checkSchool1" ErrorMessage="Thời gian dự định tốt nghiệp không hợp lệ"
                Display="None" SetFocusOnError="false" ValidateEmptyText="True" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender41"
                TargetControlID="CustomValidator6" HighlightCssClass="invalid4" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="215px" />
        </div>
        <div id="dv日本語学習経験" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label32" runat="server" Text="Kinh nghiệm học tiếng Nhật :"></asp:Label></span><asp:DropDownList
                    ID="ddl_日本語学習経験" runat="server" CssClass="next_control dropdownlist width2">
                    <asp:ListItem Value="-1" Selected="true">Lựa chọn</asp:ListItem>
                    <asp:ListItem Value="0">Không Có</asp:ListItem>
                    <asp:ListItem Value="1">Dưới 3 tháng</asp:ListItem>
                    <asp:ListItem Value="2">Trên 3 tháng</asp:ListItem>
                    <asp:ListItem Value="3">Trên 6 tháng</asp:ListItem>
                </asp:DropDownList>
        </div>
        <div id="dv就業経験有無" runat="server" class="detail-admin-row">
            <span class="detail-admin-label">
                <asp:Label ID="Label24" runat="server" Text="Kinh nghiệm làm việc :"></asp:Label></span>
            <asp:DropDownList ID="ddl_就業経験有無" runat="server" onchange="ShowDiv('ctl00_ContentPlaceHolder1_ddl_就業経験有無');hidePopup();"
                CssClass="next_control validation dropdownlist width2">
                <asp:ListItem Value="-1" Selected="true">Lựa chọn</asp:ListItem>
                <asp:ListItem Value="0">Không</asp:ListItem>
                <asp:ListItem Value="1">Có</asp:ListItem>
            </asp:DropDownList>
            <span class="required-field">&nbsp;*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator就業経験有無" ControlToValidate="ddl_就業経験有無"
                Display="None" InitialValue="-1" SetFocusOnError="false" ErrorMessage="国籍: mmm" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender7"
                TargetControlID="RequiredFieldValidator就業経験有無" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                WarningIconImageUrl="Images/warning.png" Width="200px" />
        </div>
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                <asp:HiddenField ID="hd1" runat="server" />
                <div id="dv経験作業名1" runat="server" class="detail-admin-row" style="display: none">
                    <span class="detail-admin-label">
                        <asp:Label ID="Label33" runat="server" Text="Kinh nghiệm làm việc 1 :"></asp:Label></span><asp:DropDownList
                            ID="ddl_経験作業名1" runat="server" CssClass="next_control validation dropdownlist width2"
                            onchange="showKinhNghiem();">
                            <asp:ListItem Value="-1" Selected="true">Lựa chọn</asp:ListItem>
                        </asp:DropDownList>
                    <span class="required-field">&nbsp;*</span>
                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator経験作業名1" ControlToValidate="ddl_経験作業名1"
                        Display="None" InitialValue="-1" SetFocusOnError="false" ErrorMessage="国籍: sss" />
                    <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender22"
                        TargetControlID="RequiredFieldValidator経験作業名1" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="Images/warning.png" />
                    <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="ddl_経験作業名1"
                        ClientValidationFunction="checkKinhNghiemLamViec1" Display="None" SetFocusOnError="false"
                        ErrorMessage="" />
                </div>
                <div id="dv経験作業名2" runat="server" class="detail-admin-row" style="display: none">
                    <span class="detail-admin-label">
                        <asp:Label ID="Label34" runat="server" Text="Kinh nghiệm làm việc 2 :"></asp:Label></span><asp:DropDownList
                            ID="ddl_経験作業名2" runat="server" CssClass="next_control dropdownlist width2" onchange="showKinhNghiem();">
                            <asp:ListItem Value="-1" Selected="true">Lựa chọn</asp:ListItem>
                        </asp:DropDownList>
                    <asp:CustomValidator ID="CustomValidator経験作業名2" runat="server" ControlToValidate="ddl_経験作業名2"
                        ClientValidationFunction="checkKinhNghiemLamViec2" Display="None" SetFocusOnError="false"
                        ErrorMessage="" />
                    <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender32"
                        TargetControlID="CustomValidator経験作業名2" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="Images/warning.png" />
                    <asp:CustomValidator ID="CustomValidator経験作業名21" runat="server" ControlToValidate="ddl_経験作業名2"
                        ClientValidationFunction="checkKinhNghiemLamViec21" Display="None" SetFocusOnError="false"
                        ErrorMessage="" />
                </div>
                <div id="dv経験作業名3" runat="server" class="detail-admin-row" style="display: none">
                    <span class="detail-admin-label">
                        <asp:Label ID="Label35" runat="server" Text="Kinh nghiệm làm việc 3 :"></asp:Label></span><asp:DropDownList
                            ID="ddl_経験作業名3" runat="server" CssClass="next_control dropdownlist width2" onchange="showKinhNghiem();">
                            <asp:ListItem Value="-1" Selected="true">Lựa chọn</asp:ListItem>
                        </asp:DropDownList>
                    <asp:CustomValidator ID="CustomValidator経験作業名3" runat="server" ControlToValidate="ddl_経験作業名3"
                        ClientValidationFunction="checkKinhNghiemLamViec3" Display="None" SetFocusOnError="false"
                        ErrorMessage="" />
                    <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender35"
                        TargetControlID="CustomValidator経験作業名3" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="Images/warning.png" />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <div id="dv具体的仕事内容" runat="server" class="detail-admin-row" style="display: none;">
            <span class="detail-admin-label">
                <asp:Label ID="Label37" runat="server" Text="Nội dung công việc :"></asp:Label></span><asp:TextBox
                    ID="txt_具体的仕事内容" TextMode="MultiLine" runat="server" ValidationGroup="detailForm"
                    MaxLength="500" CssClass="next_control textarea validation width3"></asp:TextBox><span class="required-field">*</span>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatortxt_具体的仕事内容"
                ControlToValidate="txt_具体的仕事内容" Display="None" SetFocusOnError="false" ErrorMessage="aaaaaa" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender21"
                TargetControlID="RequiredFieldValidatortxt_具体的仕事内容" HighlightCssClass="invalid"
                CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png"
                Width="215px" />
        </div>
        <div class="detail-admin-row">
        </div>
        <div id="mydiv" runat="server">
            <div class="line">
            </div>
            <div>
                &nbsp;</div>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <div id="dvCaptchaControl1" runat="server" class="detail-admin-row">
                        <span class="detail-admin-label">&nbsp;</span>
                        <cc1:CaptchaControl ID="CaptchaControl1" runat="server" CaptchaMinTimeout="5" CaptchaMaxTimeout="1000" />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <div class="detail-admin-row">
                <span class="detail-admin-label">
                    <asp:Label ID="Label27" runat="server" Text="Hãy nhập các ký tự hiển thị ở trên  :"></asp:Label></span><asp:TextBox
                        ID="txt_key" runat="server" ValidationGroup="detailForm" CssClass="next_control validation textbox width1"></asp:TextBox><span
                            class="required-field">&nbsp;*</span><br />
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatorkey" ControlToValidate="txt_key"
                    Display="None" SetFocusOnError="false" ErrorMessage="" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender34"
                    TargetControlID="RequiredFieldValidatorkey" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                    WarningIconImageUrl="Images/warning.png" Width="215px" />
                <%--<asp:CustomValidator runat="server" ID="CustomValidatorCapcha"   
                    OnServerValidate="CustomValidateCapcha"
                    ErrorMessage="" 
                    ControlToValidate="txt_key" Display="None"    SetFocusOnError="false" >
                 </asp:CustomValidator>
                 <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender32"
                    TargetControlID="CustomValidatorCapcha" HighlightCssClass = "invalid"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="Images/warning.png" />--%>
            </div>
            <div class="line">
            </div>
            <div id="Div3" runat="server" class="Header3" style="margin-left: 50px">
                <asp:Label ID="Label26" runat="server" Text="※Sau khi đã nhập hoàn tất các thông tin,xin vui lòng bấm vào nút Đăng ký"></asp:Label></div>
        </div>
        <div>
            &nbsp;</div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">&nbsp;</span>
            <asp:Button ID="btn_登録" runat="server" Text="Đăng ký" CssClass="btn" OnClick="btn_登録_Click"
                OnClientClick="javascript:focusToControlErr();" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <%--<input type="button" name="btn_リセット" class="btn" value="Làm lại" onclick="return resettext();" />--%>
            <asp:Button ID="btn_リセット" runat="server" Text="Làm lại" OnClick="btn_リセット_Click"
                CssClass="btn" CausesValidation="False" OnClientClick="return confirm('Bạn sẽ nhập lại toàn bộ thông tin đăng ký?');" />
            <asp:HiddenField ID="hlangu" runat="server" />
        </div>
        <div class="detail-admin-row">
            <div class="btn_back">
                <asp:Button ID="btn_戻る" runat="server" Text="←Quay về" OnClick="btn_戻る_Click" OnClientClick="return myconfirm1();"
                    CssClass="btn" />
            </div>
        </div>
    </div>
    <div>
        &nbsp;</div>
    <br />
</asp:Content>
